<template>
    <div>
        商品详细
        <NavTop></NavTop>
        {{list.name}}
        <button>购物车</button>
        <button>购买</button>
    </div>
</template>
<script>
import NavTop from '../../components/NavTop.vue'
export default{
    components:{
        NavTop

    },
    mounted(){
        this.list=this.$route.query
    },
    data(){
        return{
            list:[]
        }
    }

    
}


</script>